//
//  SportPieceView.m
//  MansApp
//
//  Created by lanou3g on 15/7/13.
//  Copyright (c) 2015年 ACH. All rights reserved.
//

#import "SportPieceView.h"

@implementation SportPieceView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(kP6width(10), kP6Height(20), self.bounds.size.width - kP6width(20), kP6Height(50))];
        self.titleLabel.numberOfLines = 0;   
        self.titleLabel.font = [UIFont fontWithName:@"Georgia-BoldItalic" size:kP6Height(17)];
        self.autherLabel = [[UILabel alloc]initWithFrame:CGRectMake(kP6width(10),self.titleLabel.frame.origin.y + self.titleLabel.bounds.size.height, kP6width(150), kP6Height(10))];
        self.autherLabel.font = [UIFont fontWithName:@"STHeitiSC-Medium" size:kP6Height(12)];
        
        [self addSubview:self.titleLabel];
        [self addSubview:self.autherLabel];
        
    }
    return  self;
}

@end
